package com.yangyongfeng.JNI_library;

public class StaticFieldAccess {
    private boolean flag;
    public static int sField = 100;
    public static char  my_sex = 'M';
    public   native  void accessStaticField();

    public static void setsField(int sField) {
        StaticFieldAccess.sField = sField;
    }

    public static int getsField() {
        return sField;
    }

    public  void setMy_sex(char my_sex) {
        StaticFieldAccess.my_sex = my_sex;
    }

    static {
        System.loadLibrary("StaticFieldAccess");
    }
}
